<template>
  <router-link :to="path" class="xtx-more">
    <span>查看全部</span>
    <IconifyIcon icon="ooui:previous-rtl" />
  </router-link>
</template>

<script setup lang="ts">
defineOptions({
  name: 'More'
})

interface Props {
  path: string
}

defineProps<Props>()
</script>

<style lang="scss" scoped>
.xtx-more {
  color: #999;
  font-size: 14px;
  vertical-align: middle;

  &:hover {
    color: $xtx-color;
  }

  span {
    font-size: 16px;
  }
}
</style>
